/* Event Content Styles */
.event-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Event Grid and Cards */
.event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.event-details {
    padding: 1.5rem;
}

.event-details h3 {
    margin: 0 0 1rem;
    color: #333;
    font-size: 1.5rem;
}

.event-details p {
    margin: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-details i {
    color: #e63946;
}

/* Countdown Styles */
.countdown {
    margin-top: 1.5rem;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.countdown-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e63946;
    display: block;
}

.countdown-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

/* Venue Map */
.venue-map {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
    position: relative;
    z-index: 1;
}

/* Minigame Section */
.minigame-section {
    text-align: center;
    padding: 2rem 0;
}

.game-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ingredients-section,
.sandwich-building-section {
    padding: 1rem;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.ingredient-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-align: center;
}

.ingredient-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ingredient-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.ingredient-item p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: #333;
}

.current-sandwich {
    min-height: 300px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sandwich-layer {
    position: relative;
    background: white;
    padding: 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.sandwich-layer img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.remove-ingredient {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 24px;
    height: 24px;
    background: #e63946;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.success-message {
    color: #2ecc71;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
    background: #d5f5e3;
    border-radius: 4px;
}

.error-message {
    color: #e74c3c;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
    padding: 1rem;
    background: #fadbd8;
    border-radius: 4px;
}

.game-button {
    background: #e63946;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.game-button:hover {
    background: #dc2f3c;
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.countdown-item {
    text-align: center;
    min-width: 60px;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e63946;
}

.countdown-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

/* Booking Button */
.booking-button-wrapper {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.book-vendor-btn {
    display: inline-block;
    background: #e63946;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(230, 57, 70, 0.2);
}

.book-vendor-btn:hover {
    background: #dc2f3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}